<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>filter过滤器</title>
</head>
<body>
    <div>
    <h1>请输入你的名字1：{{user.username}} ---{{user.username|length}}</h1>
   <h1>请输入你的email1：{{user.email}}---{{user.email|length}}</h1>
    </div>
    <div>
    <h1>自定义过滤器：{{mytime|dformate}}</h1>
    </div>
</body>
</html>